﻿using System;
using System.Drawing;
using System.Windows.Controls;
using System.Windows.Shapes;

namespace PdfSdk.PdfViewer
{
    public class InkSignatureWrapper : AnnotationWrapper
    {
        public InkSignatureWrapper(object obj) : base(obj)
        {
        }

        internal Border Border => GetPropertyValue() as Border;
        internal float OldOpacity => Convert.ToSingle(GetPropertyValue());
        internal RectangleF[] OldBounds => GetPropertyValue() as RectangleF[];
        internal System.Windows.Media.Color OldBackgroundColor => (System.Windows.Media.Color)GetPropertyValue();
        internal Path SignaturePath => GetPropertyValue() as Path;
    }
}
